﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Task:NPC
    {
        public string tack { get; set; }

        public Task(string name,NPCType type,string tack)
            :base(name,type)
        {
            this.tack = tack;
        }
        public override void Test()
        {
            Console.WriteLine("{0}:{1}",base.Name,this.tack);
        }
    }
}
